Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch COEP header from require-corp to credentialless #112

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

georgestagg
Copy link
Collaborator

See posit-dev/r-shinylive#51 (comment) and MDN for details.

With this change, cross-origin requests for embedded content are sent without credentials and so the responses are allowed without an explicit permission via the CORP header in the response. This fixes embedding certain types of content in webR Shinylive apps, while still allowing the option of using cross-origin isolation and SharedArrayBuffer with webR.

Fixes posit-dev/r-shinylive#49 (embedding MathJax) and posit-dev/r-shinylive#51 (embedding openstreetmap)

With this, cross-origin requests for embedded content are sent without
credentials and the responses are allowed without an explicit permission
via the CORP header in the response. This fixes embedding certain types
of content in webR Shinylive apps, while still allowing the option of
using cross-origin isolation and SharedArrayBuffer with webR.
@wch wch merged commit bafe6e6 into posit-dev:main Apr 4, 2024
2 checks passed
@georgestagg georgestagg deleted the credentialless branch July 13, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MathJax Equations Render Successfully in UI, but Encounter Issues Within Output
2 participants